/**
 * @projectName study-note
 * @package Visitor
 * @className Visitor.AbstractElement
 */
package Visitor;

/**
 * AbstractElement
 * @description 抽象Element类
 * @author answer_wx
 * @date 2022/7/6 16:51
 * @version 1.0
 */
public abstract class AbstractElement {
    protected String name;

    public AbstractElement(String name) {
        this.name = name;
    }

    abstract public void accept(AbstractVisitor visitor);
}